<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="divcode"></div>
    <script src="https://cdn.bootcdn.net/ajax/libs/qrcodejs/1.0.0/qrcode.js"></script>
    <script>
      new QRCode(divcode, {
        text: "http://yuanjin.tech",
        width: 128,
        height: 128,
        colorDark: "blue",
        colorLight: "#fff",
        correctLevel: QRCode.CorrectLevel.H,
        src: "./img/logo.jpg"
      });
    </script>
  </body>
</html>

